//class MonstersUtil
    
    export  class MonstersUtil
    {
        

        public static getAllMonsters(arg1: Array<any>): Array<any>
        {
            var loc3=null;
            var loc4=0;
            var loc1=arg1.length;
            var loc2=0;
            while (loc2 < loc1) 
            {
                loc4 = 0;
                while (loc4 < MonstersUtil.taskAddMonArr.length) 
                {
                    if (arg1[loc2] == MonstersUtil.taskAddMonArr[loc4]) 
                    {
                        MonstersUtil.taskAddMonArr.splice(loc4, 1);
                    }
                    ++loc4;
                }
                ++loc2;
            }
            var loc5=0;
            var loc6=MonstersUtil.taskAddMonArr;
            for(loc3 of loc6) 
            {
                arg1.push(loc3);
            }
            return arg1;
        }

        public static getTaskMonsters(arg1: Array<any>, arg2: Array<any>): Array<any>
        {
            var loc4=null;
            var loc5=null;
            var loc7=0;
            var loc1=[];
            var loc2=arg1.length;
            var loc3=arg2.length;
            var loc6=0;
            while (loc6 < loc3) 
            {
                loc5 = arg2[loc6];
                loc7 = 0;
                while (loc7 < loc2) 
                {
                    if ((loc4 = arg1[loc7]).code == loc5.id) 
                    {
                        loc1.push(loc4);
                    }
                    ++loc7;
                }
                ++loc6;
            }
            return loc1;
        }

        public static /* var */taskAddMonArr: Array<any>;
    }

            MonstersUtil.taskAddMonArr = [];
        